<?php

namespace Shipment;

use C\L\AdmController;

class ShipmentController extends AdmController
{
    public function companiesAction()
    {
        $companies = [
        ['id' => 1,  'name' => '中通快递',     'tel' => '95311'],
        ['id' => 2,  'name' => '圆通快递',     'tel' => '95554'],
        ['id' => 3,  'name' => '申通快递',     'tel' => '95543'],
        ['id' => 4,  'name' => '百世快递',     'tel' => '95320'],
        ['id' => 5,  'name' => '韵达快递',     'tel' => '95546'],
        ['id' => 6,  'name' => '顺丰速运',     'tel' => '95338'],
        ['id' => 7,  'name' => 'EMS',          'tel' => '11183'],
        ['id' => 8,  'name' => '天天快递',     'tel' => '4001888888'],
        ['id' => 9,  'name' => '邮政包裹信件', 'tel' => '11183'],
        ['id' => 10, 'name' => '京东快递',     'tel' => '950616'],
        ];

        return $this->success($companies);
    }
}
